package com.carlinfo.userscenter.users.pojo;

/**
 * 一个POJO对应一个枚举
 * 
 * 枚举三要素:
 * 键:(name)和值(status),
 * 变量名:STATUS_DISABLED
 * @author wangshMac
 */
public enum AAdminsEnum
{
	/*
	 * 枚举必须从已知的选项卡拿一个出来 红绿灯: 多项枚举:类似于Map;
	 */
	/*
	 * 定义枚举项
	 * */
	SEX_UNKNOW("未知",0),
	SEX_MAN("男",1),
	SEX_WOMEN("女",2),
	
	STATUS_DISABLED("禁用",0),
	STATUS_ENABLE("启用",1);

	private String name ;
	private int status;

	private AAdminsEnum(String name, int status)
	{
		this.name = name;
		this.status = status;
	}

	public String getName()
	{
		return name;
	}

	public void setName(String name)
	{
		this.name = name;
	}

	public int getStatus()
	{
		return status;
	}

	public void setStatus(int status)
	{
		this.status = status;
	}

}
